-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: verdi data trajectory show #5394
Conversation
two formats fixed (jmol, xcrysden, at least superficially; did not look at the output yet) |
@ryotatomioka Since I don't really have any real-world trajectorydata at hand, would you be able to export a sample trajectory via This would allow me to check whether, now that the code is supposedly working, the output of |
@ltalirz is this PR still relevant? What still needs to be done for this to be merged or closed? |
@danielhollas if you can test out this branch that would be very welcome. I currently don't have time to finish it, please feel free to take it from here |
fac2af9
to
5b603a0
Compare
thanks for taking this on; feel free to merge this directly - if you want any further input let me know |
The `verdi data trajectory show` command was broken at least since dc7cdd0 (Jul 2018). The fact that most of its formats rely on external programs makes it somewhat tedious to test.
The tests were failing because `mayavi` is not installed and so was raising an `ImportError`. In addition, the tests would hang because the show command would actually open a window to display the generated image for certain formats. Since the purpose of these CLI tests are not actually to test the implementation of the visualization but just the CLI command, the show function is mocked with a function that simply checks that the expected arguments are passed, based on the options that are passed to the command line invocation.
c78636c
to
aebe1fb
Compare
2a3826b
to
1bcfa4a
Compare
ae8d13e
to
cf811fe
Compare
After an arduous battle with a legion of ghosts in the machine, I declare victory and denounce |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, I am calling it on this one 😄 thanks @ltalirz !
fix #2435
The
verdi data trajectory show
command was broken at least sincedc7cdd0 (Jul 2018).
The fact that most of its formats rely on external programs makes
it somewhat tedious to test.